package com.fanbuchi.app.ins.api;

import com.fanbuchi.app.ins.vo.Profile;

import retrofit.http.Body;
import retrofit.http.DELETE;
import retrofit.http.POST;
import retrofit.http.Path;
import rx.Observable;

/**
 * Created by rabbit on 2016/3/21.
 * @title 点赞
 */
public interface StarsAPI {

    @POST("/v1/stars/{targetId}")
    Observable<Profile> addStar(@Path("targetId") String targetId);


    @DELETE("/v1/stars/{targetId}")
    Observable<Profile> cancelStar(@Path("targetId") String targetId);



}
